import urllib3
from database.db import movieCol
from detail import md5, parse
import time

if __name__ == '__main__':
    while True:
        ret = movieCol.delete_many({'url': {'$regex': 'hao6v.com'}})
        print(f'删除{ret.deleted_count}条数据')
        time.sleep(2*3600)

